package DB::Schema::Ftphosts;

use JIP::ToolSet; # load my commonly-used modules in a single import
use base 'DBIx::Class';

__PACKAGE__->load_components("Core");
__PACKAGE__->table("ftpHosts");

__PACKAGE__->add_columns(
  "hostid",
  {
    data_type => "SMALLINT",
    default_value => undef,
    is_nullable => 0,
    size => 5,
  },
  "hostip",
  { data_type => "CHAR", default_value => undef, is_nullable => 0, size => 14 },
  "nbn",
  { data_type => "CHAR", default_value => "-", is_nullable => 0, size => 255 },
  "lastfastscan",
  {
    data_type => "TIMESTAMP",
    default_value => "2009-01-01 00:00:00",
    is_nullable => 0,
    size => 14,
  },
  "lastindexing",
  {
    data_type => "TIMESTAMP",
    default_value => "2009-01-01 00:00:00",
    is_nullable => 0,
    size => 14,
  },
  "lastbuild",
  {
    data_type => "TIMESTAMP",
    default_value => "2009-01-01 00:00:00",
    is_nullable => 0,
    size => 14,
  },
  "totalfilessize",
  { data_type => "BIGINT", default_value => 0, is_nullable => 0, size => 20 },
  "totalfilescounter",
  { data_type => "MEDIUMINT", default_value => 0, is_nullable => 0, size => 8 },
);

__PACKAGE__->set_primary_key("hostid");
__PACKAGE__->add_unique_constraint("hostIp", ["hostip"]);

1;
